//
//  GYTaskHeadView.h
//  LockManagement
//
//  Created by 丁燕春 on 2018/7/28.
//  Copyright © 2018年 yunjiazhineng. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^updateTaskListToTaskTypeBlcok)(NSString *taskType);
typedef void(^updateTaskListToTaskStateBlock)(NSString *taskState);
typedef void(^searchTaskBlock)(NSString *searchText);
@interface GYTaskHeadView : UIView

/** 根据任务的类型来加载任务列表 */
@property (nonatomic, copy) updateTaskListToTaskTypeBlcok updateTaskListToTaskTypeCallBack;

/** 根据任务的状态来加载任务列表 */
@property (nonatomic, copy) updateTaskListToTaskStateBlock updateTaskListToTaskStateCallBack;

/** 所搜按钮block */
@property (nonatomic, copy) searchTaskBlock searchTaskCallBack;

/**
 创建一个View

 @return <#return value description#>
 */
+ (instancetype)shareView;

- (CGFloat)ViewHeight;
@end
